write off for depreciation of machinery